package com.contract.pojo.dto;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 *
 * @author liw
 * @version 1.0
 * @date 2023/12/13 11:13
 */
@Data
public class IdCardResult {

    @JSONField(name = "log_id")
    private String logId;

    @JSONField(name = "direction")
    private String direction;

    @JSONField(name = "image_status")
    private String imageStatus;

    @JSONField(name = "risk_type")
    private String riskType;

    @JSONField(name = "edit_tool")
    private String editTool;

    @JSONField(name = "card_quality")
    private String cardQuality;

//    @JSONField(name = "photo")
//    private String photo;

//    @JSONField(name = "card_image")
//    private String cardImage;

    @JSONField(name = "idcard_number_type")
    private String idcardNumberType;

    @JSONField(name = "words_result")
    private Map<String, Words> wordsResult;

    @JSONField(name = "words_result_num")
    private String wordsResultNum;

    @Data
    public static class Words {

        @JSONField(name = "words")
        private String words;

    }

}
